package cn.echo.common.baseservice;

import cn.echo.modules.sys.utils.MyBatisUtils;
import org.apache.ibatis.session.SqlSession;

/**
 * Created by Administrator on 2017/4/19.
 */
public class BaseService {
    public SqlSession getSession(boolean isAutoCommit){
        SqlSession session = null;
        return MyBatisUtils.getSqlFactory().openSession(isAutoCommit);
    }
}
